﻿
namespace MoreEPG.Model
{
    public class Keyword
    {
        /// <summary>
        /// A unique ID for each Keyword.  This is what is output into the MXF.
        /// </summary>
        public int id_ { get; set; }

        /// <summary>
        /// The Keyword
        /// </summary>
        public string Word { get; set; }


        /// <summary>
        /// Constructor for the Keyword Class
        /// </summary>
        /// <param name="Id"></param>
        /// <param name="Keyword"></param>
        public Keyword(int Id, string Keyword)
        {
            id_ = Id;
            Word = Keyword;
        }

        /// <summary>
        /// Get ID in MXF Format
        /// </summary>
        /// <returns></returns>
        public string Id()
        {
            return "k" + id_.ToString();
        }


    }
}
